package pl.freetimetool.dao;

import java.util.Collection;

import pl.freetimetool.domain.Account;
import pl.freetimetool.domain.AccountRole;
import pl.freetimetool.exceptions.UserNotFoundException;

public interface AccountDao {
	public Account findUsername(String username) throws UserNotFoundException;

	public void save(Account account);

	public Collection<Account> listAccounts(Collection<AccountRole> roles);

	public void remove(Account account);

}
